package org.space.galaxyCabinet.clients;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name="OrderClients", url="http://localhost:8080/order")
@Component
public interface OrderClients {
    @RequestMapping(method = RequestMethod.PUT, value = "/order", consumes = "application/json")
    boolean updateStatus(OrderClients service);
}
